import { u as useRouter } from "./index.js";
import { d as defineComponent, i as createBlock, j as openBlock, m as withCtx, n as createVNode, a6 as Button, k as unref, a7 as createTextVNode, dk as __unplugin_components_1 } from "./stores.js";
const _sfc_main = /* @__PURE__ */ defineComponent({
  __name: "500",
  setup(__props) {
    const router = useRouter();
    return (_ctx, _cache) => {
      const _component_n_button = Button;
      const _component_n_result = __unplugin_components_1;
      return openBlock(), createBlock(_component_n_result, {
        status: "500",
        title: "服务器错误",
        description: "服务器寄了，等会再试吧"
      }, {
        footer: withCtx(() => [
          createVNode(_component_n_button, {
            type: "primary",
            onClick: _cache[0] || (_cache[0] = ($event) => unref(router).go(0))
          }, {
            default: withCtx(() => _cache[1] || (_cache[1] = [
              createTextVNode(" 重新载入 ")
            ])),
            _: 1
          })
        ]),
        _: 1
      });
    };
  }
});
export {
  _sfc_main as default
};
